HTTP Device
Complete these steps before using the HTTP bridge:
- Set up one or more device registries, including a Cloud Pub/Sub topic for telemetry events
- Create devices
Authenticating devices
Each request to the HTTP bridge must include a JSON Web Token (JWT) in the header.
Http Device Authentication
curl -H 'authorization: Bearer JWT' -H 'cache-control: no-cache' 'https://demo-http.api.cloud.korewireless.com/http/subscriptions/{subscription-id}/registries/{registry-id}/devices/{device-id}/config'
The full path of the device can end in the device ID.
Each request must include the JWT, even if you send several requests in quick succession. OmniCore does not "remember" authentication over the HTTP bridge. For more information about authentication and JWTs, see the sections on device security and device credentials.